(query-replace-map): New keymap.
authorRichard M. Stallman <rms@gnu.org>
Fri, 12 Mar 1993 12:04:55 +0000 (12:04 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 12 Mar 1993 12:04:55 +0000 (12:04 +0000)
(perform-replace): Use query-replace-map.
(query-replace, query-replace-regexp, map-query-replace-regexp):
(replace-string, replace-regexp): Don't print `done' if unread chars.

lisp/replace.el

index 3f730ec3f2fadb5e08cb3d795784efe718940788..3c195224ad93654c51771e70e4c83410d3a67cb5 100644 (file)
@@ -463,7 +463,7 @@ which will run faster and do exactly what you probably want."
            (replace-match next-replacement nocasify literal)
            (setq replace-count (1+ replace-count)))
        (undo-boundary)
-       (let (done replaced key)
+       (let (done replaced key def)
          ;; Loop reading commands until one of them sets done,
          ;; which means it has finished handling this occurrence.
          (while (not done)